package com.zpark.feign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
// 开启feign
@EnableFeignClients
@EnableEurekaClient
public class FeignApplication {
    public static void main(String[] args) {
        SpringApplication.run(FeignApplication.class, args);
    }

    /**
     * 学习使用cloud组件的步骤：
     *      1、创建工程
     *      2、添加相关依赖
     *      3、添加配置文件
     *      4、添加相关注解
     */
}
